/*
 * @Description:
 * @version:
 * @Author: 尹鹏孝
 * @Date: 2023-03-15 10:55:12
 * @LastEditors: 尹鹏孝
 * @LastEditTime: 2023-03-15 11:21:02
 */
module.exports={
    apps:[
        {
            name:'API',
            script:'./bin/www',
            args:'one two',
            instance:1,
            autorestart: true,
            watch:true,
            ignore_watch:['node_modules','logs']
            ,
            error_file:'./logs/app-err.log',
            out_file:'./log/app-out.log',
            log_date_format:"YYYY-MM-DD HH:mm:ss",
            max_memory_restart:'1G',
            env_pro:{
                "NODE_ENV":"production",
                "REMOTE_ADDR":""
            },
            env_dev:{
                 "NODE_ENV": "development",
                 "REMOTE_ADDR": ""
            },
            env_test:{
                "NODE_ENV": "test",
                "REMOTE_ADDR": ""
            }
        }
    ],
}